home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
netmail
/
wsomr120.zip
/
WS.DAT
/
WPOST
< prev
next >
Wrap
Text File
|
1996-04-24
|
439b
|
32 lines
#!/bin/sh
#Syntax:
# wpost in_file out_file
# Example:
# upload first internet.txt from PC to Host
# sh wpost internet.001 internet.txt
INF=$1
OUTF=$2
wsmail m+ $INF
# Check for an existing packet
if [ -f $INF ]
then
echo new mail found!
sz -w 1024 $INF
if [ $? = 0 ]
then
rm $INF
fi
fi
# Check for an existing replies
if [ -f $OUTF ]
then
echo sending replies, please wait...
wsmail r- $OUTF
fi
echo wpost done